/*
 * @Author: Clark
 * @Email: haixuanwoTxh@gmail.com
 * @Date: 2022-12-28 17:22:53
 * @LastEditors: Clark
 * @LastEditTime: 2022-12-28 17:42:18
 * @Description: file contentr
 */

#pragma once

#include <iosfwd>
#include <string>

class Message
{
public:
    Message(const std::string &m) : message_(m)
    {

    }

    friend std::ostream &operator<<(std::ostream &os, Message &obj)
    {
        return obj.printObject(os);
    }

    ~Message()
    {

    }

private:
    std::string message_;
    std::ostream &printObject(std::ostream &os);
};
